@size: 17.07vw;

body {
    margin: 0;
    background-image: url(../images/pf.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.top-nav {
    .top {
        width: 100%;
        height: (80 / @size);
        line-height: (80 / @size);
        background-color: rgba(231, 230, 233, 0);
        .container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
        }
        .ul {
            display: flex;
            flex-direction: row;
            justify-content: center;
            .li {
                font-style: normal;
                list-style: none;
                margin-right: (50 / @size);
                margin-left: (50 / @size);
                font-size: (20 / @size);
                &:first-of-type {
                    font-size: (30 / @size);
                    font-style: italic;
                }
                a {
                    text-decoration: none;
                    color: #181616;
                }
            }
        }

    }
}

.slideshow {
    .swiper-container {
        padding-bottom: 40px;
    }
    
    .swiper-wrapper {}
    
    .swiper-slide {
        width: 978px;
        transition-timing-function: linear;
    }
    
    @media only screen and (max-width:1200px) {
        .swiper-slide {
            width: 770px;
        }
    }
    
    @media only screen and (max-width:980px) {
        .swiper-slide {
            width: 471px;
        }
    }
    
    @media only screen and (max-height:480px) {
        .swiper-slide {
            width: 471px;
        }
    }
    
    .swiper-slide img {
        width: 100%;
        border-radius: 4px;
    }
    
    .swiper-slide .title {
        position: absolute;
        transform: rotate(90deg);
        transform-origin: left top;
        left: -3px;
        font-size: 11px;
        color: rgb(102, 102, 102);
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 86px;
        height: 112px;
        background-size: 86px 112px;
        margin-top: -56px;
        outline: none;
    }
    
    .swiper-button-next {
        background-image: url(img/cursor-next.png);
    }
    
    .swiper-button-prev {
        background-image: url(img/cursor-prev.png);
    }
    
    .swiper-pagination-bullet {
        background: none;
        opacity: 1;
        margin: 0 6px !important;
        width: 9px;
        height: 9px;
        position: relative;
        outline: none;
        vertical-align: middle;
    }
    
    .swiper-pagination-bullet span {
        width: 3px;
        height: 3px;
        background: #CCC;
        display: block;
        border-radius: 50%;
        margin-top: 3px;
        margin-left: 3px;
    }
    
    .swiper-pagination-bullet i {
        background: #000;
        height: 1px;
        width: 20px;
        position: absolute;
        top: 4px;
        transform: scaleX(0);
        transform-origin: left;
        z-index: 3;
        transition-timing-function: linear;
    }
    
    .swiper-pagination-bullet-active span,
    .swiper-pagination-bullet:hover span {
        width: 9px;
        height: 9px;
        margin-top: 0;
        margin-left: 0;
        background: #000;
        position: relative;
        z-index: 1;
    }
    
    .swiper-pagination-bullet-active i {
        animation: middle 6s;
    }
    
    .swiper-pagination-bullet:first-child.swiper-pagination-bullet-active i {
        animation: first 6s;
    }
    
    .swiper-pagination-bullet:last-child.swiper-pagination-bullet-active i {
        animation: last 6s;
    }
    .swiper-pagination {
        position: relative ;
    }
    @keyframes first {
        0% {
            transform: scaleX(0.5);
            left: 0px;
        }
    
        /*091*/
        100% {
            transform: scaleX(1);
            left: 2px;
        }
    
        /*0915*/
    }
    
    @keyframes last {
        0% {
            transform: scaleX(0.7);
            left: -10px;
        }
    
        /*1090*/
        20% {
            transform: scaleX(0.3);
            left: 2px;
        }
    
        /*090*/
        100% {
            transform: scaleX(0.3);
            left: 0px;
        }
    
        /*090*/
    }
    
    @keyframes middle {
        0% {
            transform: scaleX(0.7);
            left: -10px;
        }
    
        /*1091*/
        20% {
            transform: scaleX(0.45);
            left: 2px;
        }
    
        /*092*/
        100% {
            transform: scaleX(1);
            left: 2px;
        }
    
        /*0913*/
    }
    
}


//内容
.main {
    .delu-art {
        .main-title {
            margin-top: (50 / @size);
            text-align: center;
            h2 {
                font-family: inherit;
                .text {
                    span {
                        font-weight: 100;
                    }
                }
                .sub-title {
                    display: block;
                    font-size: 16px;
                    color: #919191;
                }
            }
        }
        .row {
            margin-top: (50 / @size);
            div {
                height: 300px;
                a {
                    img {
                        margin-top: 40px;
                        height: 100px;
                        width: 70px;
                    }
                }
            }
        }
        .art-more {
            text-align: center;
        }
    }

    .delu-subject {
        .main-title {
            margin-top: (50 / @size);
            text-align: center;
            h2 {
                font-family: inherit;
                .text {
                    span {
                        font-weight: 100;
                    }
                }
                .sub-title {
                    display: block;
                    font-size: 16px;
                    color: #919191;
                }
            }
        }
        #carousel {
            position: relative;
            width: 1200px;
            margin: 0 auto
        }
        
        #carousel .swiper {
            padding-top: 20px;
            padding-bottom: 40px;
        }
        #carousel .swiper-wrapper{
        
        }
        #carousel  .swiper-slide {
            width: 300px;
            background: #fff;
            box-shadow: 0 8px 20px #ddd;
            
        
        }
        #carousel  .swiper-slide img{
            display:block;
            width: 100%;
        }
        #carousel  .swiper-slide p {
            line-height: 58px;
            padding-top: 0;
            text-align: center;
            color: #636363;
            font-size: 0.8em;
            margin: 0;
        }
        
        #carousel .swiper-pagination {
            width: 100%;
            bottom: 20px;
        }
        
        #carousel .swiper-pagination-bullets .swiper-pagination-bullet {
            margin: 0 5px;
            background-color: #e8f5ff;
            width: 20px;
            height: 10px;
            opacity: 1;
            border-radius: 5px;
        }
        
        #carousel .swiper-pagination-bullets .swiper-pagination-bullet-active {
            background-color: #3eb2f3;
            width: 35px;
        }
        
        #carousel .swiper-button-prev {
            left: -30px;
            width: 45px;
            height: 45px;
            background: url(images/wm_button_icon.png) no-repeat;
            background-position: 0 0;
            background-size: 100%;
        }
        
        #carousel .swiper-button-prev:hover {
            background-position: 0 -46px;
            background-size: 100%
        }
        
        #carousel .swiper-button-next {
            right: -30px;
            width: 45px;
            height: 45px;
            background: url(images/wm_button_icon.png) no-repeat;
            background-position: 0 -93px;
            background-size: 100%;
        }
        
        #carousel .swiper-button-next:hover {
            background-position: 0 -139px;
            background-size: 100%
        }
        #carousel .swiper-button-prev::after,#carousel .swiper-button-next::after{
            content: '';
        }
        .production-more {
            margin-top: (20 / @size);
            text-align: center;
        }
    }
}

.footer {
    text-align: center;
}